package xyz.bali16.module.netdisk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author bali2 on 29/10/2021.
 * @version 1.0
 */

@Data
@Accessors(chain = true)
@TableName("netdisk_fileuser")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FileUser implements Serializable {

    private static final long serialVersionUID = -5906638223373369772L;

    /**
     * 文件用户id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 认证系统用户id
     */
    private String userId;
    /**
     * 文件存储id
     */
    private String fileStorageId;
}
